package com.dyh.demo.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @description emp
 * @author dyh
 * @date 2022-10-14
 */
@Data
public class Emp implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    /**
    * id
    */
    @ExcelProperty("id")
    private Integer id;

    /**
    * name
    */
    @ExcelProperty("名称")
    private String name;

    /**
    * gender
    */
    @ExcelProperty("性别")
    private String gender;

    /**
    * salary
    */
    @ExcelProperty("薪资")
    private Double salary;

    /**
    * join_date
    */
    @ExcelProperty("加入时间")
    private Date joinDate;

    /**
    * dep_id
    */
    @ExcelProperty("部门id")
    private Integer depId;

    public Emp() {}
}